package com.hfy.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @ author 韩
 * time: 2024/6/21 2:31
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentVo {
    private Integer id;
    private String avatar;
    private Long account;
    private String username;
    private String content;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy年MM月dd日 HH:mm")
    private LocalDateTime commentTime;
    private Integer likeCount;
    private Integer commentCount;
    private Boolean isLiked;
    private Boolean die;
}
